console.log("abc");

type res = true | false | 1 | 2 | 3;

function Hi(a: number, b: number): res {
  return a === b;
}

type res2 = 1 extends 2 ? true : false; // false;

function Hello(): res2 {
  return false;
}

type res3<T> = T extends 2 ? "abc" : "eft";

type a = res3<1>; // 这里面可以传值到一个 type中，得到另一个 type

type b = res3<2>;

const ma: b = "abc";
const mb: a = "eft";

const testObj = {
  mm: "abc",
  dd: "sss",
};

// console.log(testObj);

// infer
